package com.erp.erp_entitys.warehouse.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 临时附件表(TempAnnex)实体类
 *
 * @author lst
 * @since 2020-11-01 08:38:54
 */
public class TempAnnexEntity implements Serializable {
    private static final long serialVersionUID = -50321697239106128L;
    
    private Integer id;
    /**
    * 关联模块id
    */
    private Integer moduleId;
    /**
    * 文件名称
    */
    private String fileName;
    /**
    * 文件路径
    */
    private String filePath;
    /**
    * 上传时间
    */
    private Date uploadTime;
    /**
    * 修改时间
    */
    private Date updateTime;
    /**
    * 操作人
    */
    private String operator;
    /**
    * 操作人编码
    */
    private String operatorNo;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperatorNo() {
        return operatorNo;
    }

    public void setOperatorNo(String operatorNo) {
        this.operatorNo = operatorNo;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TempAnnex").append('[')
                .append("id=")
                .append(id)
                .append(",moduleId=")
                .append(moduleId)
                .append(",fileName=")
                .append(fileName)
                .append(",filePath=")
                .append(filePath)
                .append(",uploadTime=")
                .append(uploadTime)
                .append(",updateTime=")
                .append(updateTime)
                .append(",operator=")
                .append(operator)
                .append(",operatorNo=")
                .append(operatorNo)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}